package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketTopic;

import java.util.List;
import java.util.Map;

public interface AdminTopicService {

    List<MarketTopic> list(String page, String limit, String title, String subtitle, String sort, String order);

    MarketTopic insert(MarketTopic marketTopic);

    Map<String,Object> read(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    boolean delete(MarketTopic marketTopic);

    boolean deleteLogically(MarketTopic marketTopic);
}
